<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>Face Detection with Alignment: eHmatrix.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Face Detection with Alignment
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Macros</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">eHmatrix.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Basic matrix types and operations.  
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &lt;stdlib.h&gt;</code><br/>
</div>
<p><a href="eHmatrix_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structeHmatrix2d.html">eHmatrix2d</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">2D matrix  <a href="structeHmatrix2d.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structeHmatrix3d.html">eHmatrix3d</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">3D matrix  <a href="structeHmatrix3d.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structeHmatrixkd.html">eHmatrixkd</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">k-dimension matrix  <a href="structeHmatrixkd.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:aaa0144c14d8561515f70b8612e814b20"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aaa0144c14d8561515f70b8612e814b20"></a>
typedef struct <a class="el" href="structeHmatrix2d.html">eHmatrix2d</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="eHmatrix_8h.html#aaa0144c14d8561515f70b8612e814b20">mat2d_t</a></td></tr>
<tr class="memdesc:aaa0144c14d8561515f70b8612e814b20"><td class="mdescLeft">&#160;</td><td class="mdescRight">2D matrix <br/></td></tr>
<tr class="separator:aaa0144c14d8561515f70b8612e814b20"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae38c93d3f87f14c008951f0af83e54be"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae38c93d3f87f14c008951f0af83e54be"></a>
typedef <a class="el" href="eHmatrix_8h.html#aaa0144c14d8561515f70b8612e814b20">mat2d_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="eHmatrix_8h.html#ae38c93d3f87f14c008951f0af83e54be">mat2d_ptr</a></td></tr>
<tr class="memdesc:ae38c93d3f87f14c008951f0af83e54be"><td class="mdescLeft">&#160;</td><td class="mdescRight">pointer to a 2D matrix <br/></td></tr>
<tr class="separator:ae38c93d3f87f14c008951f0af83e54be"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab963a0b30b57a23311c19a379665ac97"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab963a0b30b57a23311c19a379665ac97"></a>
typedef struct <a class="el" href="structeHmatrix3d.html">eHmatrix3d</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="eHmatrix_8h.html#ab963a0b30b57a23311c19a379665ac97">mat3d_t</a></td></tr>
<tr class="memdesc:ab963a0b30b57a23311c19a379665ac97"><td class="mdescLeft">&#160;</td><td class="mdescRight">3D matrix <br/></td></tr>
<tr class="separator:ab963a0b30b57a23311c19a379665ac97"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa07790a7fe1ed877b1482166e499794b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa07790a7fe1ed877b1482166e499794b"></a>
typedef <a class="el" href="eHmatrix_8h.html#ab963a0b30b57a23311c19a379665ac97">mat3d_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="eHmatrix_8h.html#aa07790a7fe1ed877b1482166e499794b">mat3d_ptr</a></td></tr>
<tr class="memdesc:aa07790a7fe1ed877b1482166e499794b"><td class="mdescLeft">&#160;</td><td class="mdescRight">pointer to a 3D matrix <br/></td></tr>
<tr class="separator:aa07790a7fe1ed877b1482166e499794b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae49c64854a3fd231e61b288cb0b3ac59"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae49c64854a3fd231e61b288cb0b3ac59"></a>
typedef struct <a class="el" href="structeHmatrixkd.html">eHmatrixkd</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="eHmatrix_8h.html#ae49c64854a3fd231e61b288cb0b3ac59">matkd_t</a></td></tr>
<tr class="memdesc:ae49c64854a3fd231e61b288cb0b3ac59"><td class="mdescLeft">&#160;</td><td class="mdescRight">k-dimension matrix <br/></td></tr>
<tr class="separator:ae49c64854a3fd231e61b288cb0b3ac59"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2b7e93ddbe409c9c949b122b992b7a17"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2b7e93ddbe409c9c949b122b992b7a17"></a>
typedef <a class="el" href="eHmatrix_8h.html#ae49c64854a3fd231e61b288cb0b3ac59">matkd_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="eHmatrix_8h.html#a2b7e93ddbe409c9c949b122b992b7a17">matkd_ptr</a></td></tr>
<tr class="memdesc:a2b7e93ddbe409c9c949b122b992b7a17"><td class="mdescLeft">&#160;</td><td class="mdescRight">pointer to a k-dimension matrix <br/></td></tr>
<tr class="separator:a2b7e93ddbe409c9c949b122b992b7a17"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:acfcec0a467b7f421fe322b4e73938af7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="eHmatrix_8h.html#ae38c93d3f87f14c008951f0af83e54be">mat2d_ptr</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="eHmatrix_8h.html#acfcec0a467b7f421fe322b4e73938af7">mat2d_alloc</a> (size_t sizy, size_t sizx)</td></tr>
<tr class="memdesc:acfcec0a467b7f421fe322b4e73938af7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Allocate a 2D matrix.  <a href="#acfcec0a467b7f421fe322b4e73938af7">More...</a><br/></td></tr>
<tr class="separator:acfcec0a467b7f421fe322b4e73938af7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a264653b6c756f358b9e8bf8289aa66f5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="eHmatrix_8h.html#a264653b6c756f358b9e8bf8289aa66f5">mat2d_delete</a> (<a class="el" href="eHmatrix_8h.html#ae38c93d3f87f14c008951f0af83e54be">mat2d_ptr</a>)</td></tr>
<tr class="memdesc:a264653b6c756f358b9e8bf8289aa66f5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destruct a 2D matrix.  <a href="#a264653b6c756f358b9e8bf8289aa66f5">More...</a><br/></td></tr>
<tr class="separator:a264653b6c756f358b9e8bf8289aa66f5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9e33d1ffcfa2b56b9a8ecd029f688bf0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="eHmatrix_8h.html#aa07790a7fe1ed877b1482166e499794b">mat3d_ptr</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="eHmatrix_8h.html#a9e33d1ffcfa2b56b9a8ecd029f688bf0">mat3d_alloc</a> (size_t sizy, size_t sizx, size_t sizz)</td></tr>
<tr class="memdesc:a9e33d1ffcfa2b56b9a8ecd029f688bf0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Allocate a 3D matrix.  <a href="#a9e33d1ffcfa2b56b9a8ecd029f688bf0">More...</a><br/></td></tr>
<tr class="separator:a9e33d1ffcfa2b56b9a8ecd029f688bf0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa414f0023b051cf33a18fe755787f74b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="eHmatrix_8h.html#aa414f0023b051cf33a18fe755787f74b">mat3d_delete</a> (<a class="el" href="eHmatrix_8h.html#aa07790a7fe1ed877b1482166e499794b">mat3d_ptr</a>)</td></tr>
<tr class="memdesc:aa414f0023b051cf33a18fe755787f74b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destruct a 3D matrix.  <a href="#aa414f0023b051cf33a18fe755787f74b">More...</a><br/></td></tr>
<tr class="separator:aa414f0023b051cf33a18fe755787f74b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8271b49c2c244e84351c8573e891277c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="eHmatrix_8h.html#a8271b49c2c244e84351c8573e891277c">mat3d_pad</a> (<a class="el" href="eHmatrix_8h.html#aa07790a7fe1ed877b1482166e499794b">mat3d_ptr</a> mat, const size_t *pad, double pad_val)</td></tr>
<tr class="memdesc:a8271b49c2c244e84351c8573e891277c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Pad 3d matrix.  <a href="#a8271b49c2c244e84351c8573e891277c">More...</a><br/></td></tr>
<tr class="separator:a8271b49c2c244e84351c8573e891277c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a11f11232847decccb2d0be18b2279369"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="eHmatrix_8h.html#a11f11232847decccb2d0be18b2279369">mat3d_fill</a> (<a class="el" href="eHmatrix_8h.html#aa07790a7fe1ed877b1482166e499794b">mat3d_ptr</a> mat, const size_t *start, const size_t *width, double fill_val)</td></tr>
<tr class="memdesc:a11f11232847decccb2d0be18b2279369"><td class="mdescLeft">&#160;</td><td class="mdescRight">Fill continous region of a 3D matrix with fill_val.  <a href="#a11f11232847decccb2d0be18b2279369">More...</a><br/></td></tr>
<tr class="separator:a11f11232847decccb2d0be18b2279369"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1bd7214becd598f8ff87e3373c3acae3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="eHmatrix_8h.html#a2b7e93ddbe409c9c949b122b992b7a17">matkd_ptr</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="eHmatrix_8h.html#a1bd7214becd598f8ff87e3373c3acae3">matkd_alloc</a> (size_t k, size_t *sizs)</td></tr>
<tr class="memdesc:a1bd7214becd598f8ff87e3373c3acae3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Allocate a kD matrix.  <a href="#a1bd7214becd598f8ff87e3373c3acae3">More...</a><br/></td></tr>
<tr class="separator:a1bd7214becd598f8ff87e3373c3acae3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af8ca2cb2e7726d4fdeef8f47189b0692"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="eHmatrix_8h.html#af8ca2cb2e7726d4fdeef8f47189b0692">matkd_delete</a> (<a class="el" href="eHmatrix_8h.html#a2b7e93ddbe409c9c949b122b992b7a17">matkd_ptr</a>)</td></tr>
<tr class="memdesc:af8ca2cb2e7726d4fdeef8f47189b0692"><td class="mdescLeft">&#160;</td><td class="mdescRight">Delete a kD matrix.  <a href="#af8ca2cb2e7726d4fdeef8f47189b0692">More...</a><br/></td></tr>
<tr class="separator:af8ca2cb2e7726d4fdeef8f47189b0692"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Basic matrix types and operations. </p>
<dl class="section author"><dt>Author</dt><dd>Hang Su </dd></dl>
<dl class="section date"><dt>Date</dt><dd>2012-07 </dd></dl>
</div><h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="acfcec0a467b7f421fe322b4e73938af7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="eHmatrix_8h.html#ae38c93d3f87f14c008951f0af83e54be">mat2d_ptr</a> mat2d_alloc </td>
          <td>(</td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>sizy</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>sizx</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Allocate a 2D matrix. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="eHmatrix_8h.html#a264653b6c756f358b9e8bf8289aa66f5" title="Destruct a 2D matrix. ">mat2d_delete()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a264653b6c756f358b9e8bf8289aa66f5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void mat2d_delete </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="eHmatrix_8h.html#ae38c93d3f87f14c008951f0af83e54be">mat2d_ptr</a>&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Destruct a 2D matrix. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="eHmatrix_8h.html#acfcec0a467b7f421fe322b4e73938af7" title="Allocate a 2D matrix. ">mat2d_alloc()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a9e33d1ffcfa2b56b9a8ecd029f688bf0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="eHmatrix_8h.html#aa07790a7fe1ed877b1482166e499794b">mat3d_ptr</a> mat3d_alloc </td>
          <td>(</td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>sizy</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>sizx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>sizz</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Allocate a 3D matrix. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="eHmatrix_8h.html#aa414f0023b051cf33a18fe755787f74b" title="Destruct a 3D matrix. ">mat3d_delete()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="aa414f0023b051cf33a18fe755787f74b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void mat3d_delete </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="eHmatrix_8h.html#aa07790a7fe1ed877b1482166e499794b">mat3d_ptr</a>&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Destruct a 3D matrix. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="eHmatrix_8h.html#a9e33d1ffcfa2b56b9a8ecd029f688bf0" title="Allocate a 3D matrix. ">mat3d_alloc()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a11f11232847decccb2d0be18b2279369"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void mat3d_fill </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="eHmatrix_8h.html#aa07790a7fe1ed877b1482166e499794b">mat3d_ptr</a>&#160;</td>
          <td class="paramname"><em>mat</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const size_t *&#160;</td>
          <td class="paramname"><em>start</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const size_t *&#160;</td>
          <td class="paramname"><em>width</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>fill_val</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Fill continous region of a 3D matrix with fill_val. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">start</td><td>starting point </td></tr>
    <tr><td class="paramname">width</td><td>width in each dimension </td></tr>
    <tr><td class="paramname">fill_val</td><td>the value to be filled in </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a8271b49c2c244e84351c8573e891277c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void mat3d_pad </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="eHmatrix_8h.html#aa07790a7fe1ed877b1482166e499794b">mat3d_ptr</a>&#160;</td>
          <td class="paramname"><em>mat</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const size_t *&#160;</td>
          <td class="paramname"><em>pad</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>pad_val</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Pad 3d matrix. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">pad</td><td>width of padding along each dimension </td></tr>
    <tr><td class="paramname">pad_val</td><td>values to be padded in each dimension </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a1bd7214becd598f8ff87e3373c3acae3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="eHmatrix_8h.html#a2b7e93ddbe409c9c949b122b992b7a17">matkd_ptr</a> matkd_alloc </td>
          <td>(</td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>k</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t *&#160;</td>
          <td class="paramname"><em>sizs</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Allocate a kD matrix. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="eHmatrix_8h.html#af8ca2cb2e7726d4fdeef8f47189b0692" title="Delete a kD matrix. ">matkd_delete()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="af8ca2cb2e7726d4fdeef8f47189b0692"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void matkd_delete </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="eHmatrix_8h.html#a2b7e93ddbe409c9c949b122b992b7a17">matkd_ptr</a>&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Delete a kD matrix. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="eHmatrix_8h.html#a1bd7214becd598f8ff87e3373c3acae3" title="Allocate a kD matrix. ">matkd_alloc()</a> </dd></dl>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon May 26 2014 22:18:57 for Face Detection with Alignment by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
</body>
</html>
